package com.xxxy;

@RefreshScope
@RestController
public class ServiceConfigController {
    @Value("${service.config}")
    private String ServiceConfig;

    @GetMapping("/service/config")
    public String getconfig() {
        return ServiceConfig;
    }
}
